package com.jueling.culture;


/**
 * 项目常量
 */
public final class ProjectConstant {
    public static String COMMON_PACKAGE = "com.jueling.culture";
    public static String BASE_PACKAGE;//项目基础包名称，根据自己公司的项目修改
    public static String MODEL_PACKAGE;//Model所在包
    public static String MAPPER_PACKAGE;//Mapper所在包
    public static String SERVICE_PACKAGE;//Service所在包
    public static String SERVICE_IMPL_PACKAGE;//ServiceImpl所在包
    public static String CONTROLLER_PACKAGE;//Controller所在包
    public static String MAPPER_INTERFACE_REFERENCE;//Mapper插件基础接口的完全限定名

    public static void init() {
        MODEL_PACKAGE = BASE_PACKAGE + ".model";
        MAPPER_PACKAGE = BASE_PACKAGE + ".mapper";
        SERVICE_PACKAGE = BASE_PACKAGE + ".service";
        SERVICE_IMPL_PACKAGE = SERVICE_PACKAGE + ".impl";
        CONTROLLER_PACKAGE = BASE_PACKAGE + ".controller";
        MAPPER_INTERFACE_REFERENCE = BASE_PACKAGE + ".core.Mapper";
    }
}
